<div class="layui-header header header-demo">
    <div class="layui-main">
        <div class="admin-login-box">
            <a class="logo" style="left: 0;" href="#">
                <img src="/static/img/logo.png" alt="">
                <span style="font-size: 16px;margin-left: 5px;vertical-align: middle;color: #fff;">{{.base.name}}</span>
            </a>
            <div class="admin-side-toggle">
                <i class="fa fa-bars" aria-hidden="true"></i>
            </div>
            <div class="admin-side-full">
                <i class="fa fa-life-bouy" aria-hidden="true"></i>
            </div>
        </div>
        <ul class="layui-nav admin-header-item">
            <li class="layui-nav-item">
                <a href="javascript:;" class="admin-header-user" title="{{.base.username}}">
                    <img src="/static/img/head.jpg" />
                </a>
                <dl class="layui-nav-child">
                    <dd>
                        <a href="/admin/change_password"><i class="fa fa-user-circle" aria-hidden="true"></i> 修改密码</a>
                    </dd>
                    <dd>
                        <a href="javascript:void(0);" id="clearCache"><i class="fa fa-trash-o" aria-hidden="true"></i> 清空缓存</a>
                    </dd>
                    <dd>
                        <a href="/admin/logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
                    </dd>
                </dl>
            </li>
        </ul>
        <ul class="layui-nav admin-header-item-mobile">
            <li class="layui-nav-item">
                <a href="/admin/logout"><i class="fa fa-sign-out" aria-hidden="true"></i> 注销</a>
            </li>
        </ul>
    </div>
</div>